#include <iostream>
using namespace std;
class Animal
{
public:
    char name;
    Animal(char name) : name{name} {}
};

class People
{
public:
    int height;
    People(int height) : height{height} {}
};

class Student : public Animal, public People
{
public:
    int classNo;
    Student(char name, int height, int classNo) : Animal(name), People(height), classNo{classNo} {}
};
int main()
{
    Student s1('A', 180, 2);
    cout << s1.name << endl;
    cout << s1.height << endl;
    cout << s1.classNo << endl;
    return 0;
}
